package com.aspose.cells;

import java.util.ArrayList;
import java.util.HashMap;

public class BuiltInDocumentPropertyCollection extends DocumentPropertyCollection {
   private static HashMap a;
   private static ArrayList b = new ArrayList();

   public DocumentProperty get(String name) {
      zbom.a(name, "name");
      String var2 = (String)a.get(name);
      if (var2 == null) {
         var2 = name;
      }

      DocumentProperty var3 = super.get(var2);
      if (var3 == null) {
         zavq var4 = a(name);
         if (var4 != null) {
            var3 = super.a(var4.a, var4.b, var4.c, var4.a(), false);
         }
      }

      return var3;
   }

   public String getAuthor() {
      return com.aspose.cells.b.a.zr.a(this.get("Author"));
   }

   public void setAuthor(String value) {
      this.get("Author").setValue(value);
   }

   /** @deprecated */
   public int getBytes() {
      return this.get("Bytes").toInt();
   }

   /** @deprecated */
   public void setBytes(int value) {
      this.get("Bytes").setValue(value);
   }

   /** @deprecated */
   public int getCharacters() {
      return this.get("Characters").toInt();
   }

   /** @deprecated */
   public void setCharacters(int value) {
      this.get("Characters").setValue(value);
   }

   /** @deprecated */
   public int getCharactersWithSpaces() {
      return this.get("CharactersWithSpaces").toInt();
   }

   /** @deprecated */
   public void setCharactersWithSpaces(int value) {
      this.get("CharactersWithSpaces").setValue(value);
   }

   public String getComments() {
      return com.aspose.cells.b.a.zr.a(this.get("Comments"));
   }

   public void setComments(String value) {
      this.get("Comments").setValue(value);
   }

   public String getCategory() {
      return com.aspose.cells.b.a.zr.a(this.get("Category"));
   }

   public void setCategory(String value) {
      this.get("Category").setValue(value);
   }

   public String getContentType() {
      return com.aspose.cells.b.a.zr.a(this.get("ContentType"));
   }

   public void setContentType(String value) {
      this.get("ContentType").setValue(value);
   }

   public String getContentStatus() {
      return com.aspose.cells.b.a.zr.a(this.get("ContentStatus"));
   }

   public void setContentStatus(String value) {
      this.get("ContentStatus").setValue(value);
   }

   public String getCompany() {
      return com.aspose.cells.b.a.zr.a(this.get("Company"));
   }

   public void setCompany(String value) {
      this.get("Company").setValue(value);
   }

   public String getHyperlinkBase() {
      return com.aspose.cells.b.a.zr.a(this.get("HyperlinkBase"));
   }

   public void setHyperlinkBase(String value) {
      this.get("HyperlinkBase").setValue(value);
   }

   public DateTime getCreatedTime() {
      return this.get("CreateTime").toDateTime();
   }

   public void setCreatedTime(DateTime value) {
      this.get("CreateTime").setValue(value);
   }

   public String getKeywords() {
      return com.aspose.cells.b.a.zr.a(this.get("Keywords"));
   }

   public void setKeywords(String value) {
      this.get("Keywords").setValue(value);
   }

   public DateTime getLastPrinted() {
      return this.get("LastPrinted").toDateTime();
   }

   public void setLastPrinted(DateTime value) {
      this.get("LastPrinted").setValue(value);
   }

   public String getLastSavedBy() {
      return com.aspose.cells.b.a.zr.a(this.get("LastSavedBy"));
   }

   public void setLastSavedBy(String value) {
      this.get("LastSavedBy").setValue(value);
   }

   public DateTime getLastSavedTime() {
      return this.get("LastSavedTime").toDateTime();
   }

   public void setLastSavedTime(DateTime value) {
      this.get("LastSavedTime").setValue(value);
   }

   /** @deprecated */
   public int getLines() {
      return this.get("Lines").toInt();
   }

   /** @deprecated */
   public void setLines(int value) {
      this.get("Lines").setValue(value);
   }

   public String getManager() {
      return com.aspose.cells.b.a.zr.a(this.get("Manager"));
   }

   public void setManager(String value) {
      this.get("Manager").setValue(value);
   }

   public String getNameOfApplication() {
      return com.aspose.cells.b.a.zr.a(this.get("NameOfApplication"));
   }

   public void setNameOfApplication(String value) {
      this.get("NameOfApplication").setValue(value);
   }

   public int getPages() {
      return this.get("Pages").toInt();
   }

   public void setPages(int value) {
      this.get("Pages").setValue(value);
   }

   /** @deprecated */
   public int getParagraphs() {
      return this.get("Paragraphs").toInt();
   }

   /** @deprecated */
   public void setParagraphs(int value) {
      this.get("Paragraphs").setValue(value);
   }

   public int getRevisionNumber() {
      return this.get("RevisionNumber").toInt();
   }

   public void setRevisionNumber(int value) {
      this.get("RevisionNumber").setValue(value);
   }

   int a() {
      return this.get("Security").toInt();
   }

   void a(int var1) {
      this.get("Security").setValue(var1);
   }

   public String getSubject() {
      return com.aspose.cells.b.a.zr.a(this.get("Subject"));
   }

   public void setSubject(String value) {
      this.get("Subject").setValue(value);
   }

   public String getTemplate() {
      return com.aspose.cells.b.a.zr.a(this.get("Template"));
   }

   public void setTemplate(String value) {
      this.get("Template").setValue(value);
   }

   public String getTitle() {
      return com.aspose.cells.b.a.zr.a(this.get("Title"));
   }

   public void setTitle(String value) {
      this.get("Title").setValue(value);
   }

   public double getTotalEditingTime() {
      return this.get("TotalEditingTime").toDouble();
   }

   public void setTotalEditingTime(double value) {
      this.get("TotalEditingTime").setValue(value);
   }

   public String getVersion() {
      DocumentProperty var1 = this.get("Version");
      return com.aspose.cells.b.a.zr.a(var1);
   }

   public void setVersion(String value) {
      this.get("Version").setValue(value);
   }

   public int getWords() {
      return this.get("Words").toInt();
   }

   public void setWords(int value) {
      this.get("Words").setValue(value);
   }

   static String a(int var0, int var1) {
      for(int var2 = 0; var2 < b.size(); ++var2) {
         zavq var3 = (zavq)b.get(var2);
         if (var3.b == var0 && var3.a == var1) {
            return var3.c;
         }
      }

      return null;
   }

   private static zavq a(String var0) {
      for(int var1 = 0; var1 < b.size(); ++var1) {
         zavq var2 = (zavq)b.get(var1);
         if (com.aspose.cells.b.a.zv.a(var2.c, var0, true) == 0) {
            return var2;
         }
      }

      return null;
   }

   static {
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 2, "Title", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 3, "Subject", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 4, "Author", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 5, "Keywords", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 6, "Comments", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 7, "Template", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 8, "LastSavedBy", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 9, "RevisionNumber", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 10, "TotalEditingTime", 2)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 11, "LastPrinted", 1)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 12, "CreateTime", 1)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 13, "LastSavedTime", 1)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 14, "Pages", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 15, "Words", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 16, "Characters", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 19, "Security", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(0, 18, "NameOfApplication", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 2, "Category", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 2, "ContentType", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 2, "ContentStatus", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 3, "Format", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 4, "Bytes", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 5, "Lines", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 6, "Paragraphs", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 7, "Slides", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 8, "Notes", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 9, "HiddenSlides", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 10, "MultimediaClips", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 11, "ScaleCrop", 0)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 14, "Manager", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 15, "Company", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 20, "HyperlinkBase", 4)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 16, "LinksUpToDate", 0)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 17, "CharactersWithSpaces", 3)));
      com.aspose.cells.b.a.a.ze.a(b, (Object)(new zavq(1, 23, "Version", 4)));
      a = new HashMap();
      a.put("Last Author", "LastSavedBy");
      a.put("Revision Number", "RevisionNumber");
      a.put("Total Editing Time", "TotalEditingTime");
      a.put("Last Print Date", "LastPrinted");
      a.put("Creation Date", "CreateTime");
      a.put("Last Save Time", "LastSavedTime");
      a.put("Number of Pages", "Pages");
      a.put("Number of Words", "Words");
      a.put("Number of Characters", "Characters");
      a.put("Application Name", "NameOfApplication");
      a.put("Number of Bytes", "Bytes");
      a.put("Number of Lines", "Lines");
      a.put("Number of Paragraphs", "Paragraphs");
   }
}
